package com.feicheng.persistence.service.impl;

import com.feicheng.persistence.entity.Adv;
import com.feicheng.persistence.mapper.AdvMapper;
import com.feicheng.persistence.model.AdvPojo;
import com.feicheng.persistence.model.CategoryPagePojo;
import com.feicheng.persistence.service.IAdvService;
import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cailongyang
 * @since 2022-02-08
 */
@Service
public class AdvServiceImpl extends ServiceImpl<AdvMapper, Adv> implements IAdvService {

	@Override
	public Page<AdvPojo> getAdvByPage(IPage<AdvPojo> page, Wrapper wrapper) {
		// TODO Auto-generated method stub
		return this.getBaseMapper().getAdvPage(page, wrapper);
	}

	@Override
	public List<AdvPojo> selectAdvPojoAll(Wrapper wrapper) {
		
		return this.getBaseMapper().getAdvPage(wrapper);
	}

	
	
	
	
	
	
}
